package com.billdowney.entity.base;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

import io.swagger.annotations.ApiModelProperty;

/**
 * @ClassName: BaseEntityUUIDHex
 * @Description: 用户自己输入id属性，预留了32个字符长度
 * @author 超级小富翁 - BillDowney
 * @date 2018年3月8日 下午10:41:53
 */
@MappedSuperclass
public class BaseEntityIdByCustom extends BaseEntityProperty implements Serializable {

	private static final long serialVersionUID = 1L;

	@Id
	@Column(length = 32)
	@ApiModelProperty(value = "id", notes = "自定义id，预留了32个字符长度")
	private String id;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

}
